<!--
    Local Native
    Copyright (C) 2019  Yi Wang

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <script src='./sanitizer.js'></script>
    <script>let i18n = require('roddeh-i18n')</script>
    <script src='./locales/zh-CN.js'></script>
    <script src='./locales/en-US.js'></script>
    <link rel="stylesheet" href="assets/css/global.css">
  </head>
  <body>
      <div>
        <ul>
        <li>Click Stop Server button in main window to stop server.</li>
        <li>Use <span id="addr"> </span> in Local Native desktop app for server address and port to start sync.</li>
        <li>Use Local Native mobile app to scan this barcode to start sync.</li>
        </ul>
      </div>
      <div id='server-qr-code'>
      </div>
      <div>
        <div style="max-width:560px; font-size:smaller;">
          <div id='request-text' style="overflow:auto"></div>
          <div id='response-text' style="overflow:auto"></div>
        </div>
      </div>
    <script>
      require('./renderer-process/server.js')
    </script>
  </body>
</html>
